<title>我的资料</title>

<div class="layui-card layadmin-header">
    <div class="layui-breadcrumb" lay-filter="breadcrumb">
        <a lay-href="">主页</a>
        <a><cite>设置</cite></a>
        <a><cite>我的资料</cite></a>
    </div>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">我的资料</div>
                <div class="layui-card-body" pad15>
                    <div class="layui-form" lay-filter="">
                        <div class="layui-form-item">
                            <label class="layui-form-label">用户名称</label>
                            <div class="layui-form-mid layui-word-aux">
                                <script type="text/html" template>
                                    {{window.currentUserMsg.userName}}
                                </script>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">角色名称</label>
                            <div class="layui-input-inline">
                            </div>
                            <!--                            <script type="text/html" template-->
                            <!--                                    lay-url="{{layui.setter.hostAddr}}/portal/role/rolelist?page=1&limit=1000000"-->
                            <!--                                    lay-headers="{Authorization: '{{layui.data('layuiAdmin').Authorization}}' }"-->
                            <!--                            >-->
                            <!--                                <div class="layui-form-mid layui-word-aux">-->
                            <!--                                    {{# var roleIdArr = window.currentUserMsg.roleIds.split(",");-->
                            <!--                                    layui.each(roleIdArr,function(index1,item1){-->
                            <!--                                    layui.each(d.data,function(index2,item2){-->
                            <!--                                    if (item2.roleId + "" === item1){-->
                            <!--                                    }}-->
                            <!--                                    <span>-->
                            <!--                                            {{item2.roleName}}-->
                            <!--                                        </span>-->
                            <!--                                    {{#-->
                            <!--                                    }-->
                            <!--                                    }}-->
                            <!--                                    {{#-->
                            <!--                                    })})-->
                            <!--                                    }}-->
                            <!--                                </div>-->
                            <!--                            </script>-->
                            <script type="text/html" template>
                                <div class="layui-form-mid layui-word-aux">
                                    {{window.currentUserMsg.roleNames}}
                                </div>
                            </script>

                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">岗位名称</label>
                            <div class="layui-input-inline">
                            </div>
                            <div class="layui-form-mid layui-word-aux">
                                <script type="text/html" template
                                >
                                    {{window.currentUserMsg.gwName}}
                                </script>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label">机关名称</label>
                            <div class="layui-input-inline">
                            </div>
                            <div class="layui-form-mid layui-word-aux">
                                <script type="text/html" template
                                >
                                    {{window.currentUserMsg.haveGW.SWJGMC}}
                                </script>
                            </div>
                        </div>


                        <div class="layui-form-item">
                            <label class="layui-form-label">手机</label>
                            <div class="layui-input-inline">

                                <script type="text/html" template>
                                    <input type="text" name="phone" value="{{window.currentUserMsg.phone}}"
                                           lay-verify="phone"
                                           autocomplete="off"
                                           class="layui-input">
                                </script>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">邮箱</label>
                            <div class="layui-input-inline">
                                <script type="text/html" template>
                                    <input type="text" name="email" value="{{window.currentUserMsg.email}}"
                                           lay-verify="email"
                                           autocomplete="off"
                                           class="layui-input">
                                </script>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">备注</label>
                            <div class="layui-input-block">
                                <script type="text/html" template>
                                    <textarea name="desc" placeholder="描述..." class="layui-textarea">{{window.currentUserMsg.desc}}</textarea>
                                </script>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <button class="layui-btn" lay-submit lay-filter="setmyinfo">确认修改</button>
<!--                                <button type="reset" class="layui-btn layui-btn-primary">重新填写</button>-->
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>

<script>
    layui.use('set', layui.factory('set'));
</script>


<!--<title>设置我的资料</title>-->

<!--<div class="layui-card layadmin-header">-->
<!--  <div class="layui-breadcrumb" lay-filter="breadcrumb">-->
<!--    <a lay-href="">主页</a>-->
<!--    <a><cite>设置</cite></a>-->
<!--    <a><cite>我的资料</cite></a>-->
<!--  </div>-->
<!--</div>-->
<!--  -->
<!--<div class="layui-fluid">-->
<!--  <div class="layui-row layui-col-space15">-->
<!--    <div class="layui-col-md12">-->
<!--      <div class="layui-card">-->
<!--        <div class="layui-card-header">设置我的资料</div>-->
<!--        <div class="layui-card-body" pad15>-->
<!--          -->
<!--          <div class="layui-form" lay-filter="">-->
<!--            <div class="layui-form-item">-->
<!--              <label class="layui-form-label">我的角色</label>-->
<!--              <div class="layui-input-inline">-->
<!--                <select name="role" lay-verify="">-->
<!--                  <option value="1" selected>超级管理员</option>-->
<!--                  <option value="2" disabled>普通管理员</option>-->
<!--                  <option value="3" disabled>审核员</option>-->
<!--                  <option value="4" disabled>编辑人员</option>-->
<!--                </select> -->
<!--              </div>-->
<!--              <div class="layui-form-mid layui-word-aux">当前角色不可更改为其它角色</div>-->
<!--            </div>-->
<!--            <div class="layui-form-item">-->
<!--              <label class="layui-form-label">用户名</label>-->
<!--              <div class="layui-input-inline">-->
<!--                <input type="text" name="username" value="xianxin" readonly class="layui-input">-->
<!--              </div>-->
<!--              <div class="layui-form-mid layui-word-aux">不可修改。一般用于后台登入名</div>-->
<!--            </div>-->
<!--            <div class="layui-form-item">-->
<!--              <label class="layui-form-label">昵称</label>-->
<!--              <div class="layui-input-inline">-->
<!--                <input type="text" name="nickname" value="@@" lay-verify="nickname" autocomplete="off" placeholder="请输入昵称" class="layui-input">-->
<!--              </div>-->
<!--            </div>-->
<!--            <div class="layui-form-item">-->
<!--              <label class="layui-form-label">性别</label>-->
<!--              <div class="layui-input-block">-->
<!--                <input type="radio" name="sex" value="男" title="男">-->
<!--                <input type="radio" name="sex" value="女" title="女" checked>-->
<!--              </div>-->
<!--            </div>-->
<!--            <div class="layui-form-item">-->
<!--              <label class="layui-form-label">头像</label>-->
<!--              <div class="layui-input-inline">-->
<!--                <input name="avatar" lay-verify="required" id="LAY_avatarSrc" placeholder="图片地址" value="http://cdn.layui.com/avatar/168.jpg" class="layui-input">-->
<!--              </div>-->
<!--              <div class="layui-input-inline layui-btn-container" style="width: auto;">-->
<!--                <button type="button" class="layui-btn layui-btn-primary" id="LAY_avatarUpload">-->
<!--                  <i class="layui-icon">&#xe67c;</i>上传图片-->
<!--                </button>-->
<!--                <button class="layui-btn layui-btn-primary" layadmin-event="avartatPreview">查看图片</button >-->
<!--              </div>-->
<!--           </div>-->
<!--            <div class="layui-form-item">-->
<!--              <label class="layui-form-label">手机</label>-->
<!--              <div class="layui-input-inline">-->
<!--                <input type="text" name="cellphone" value="" lay-verify="phone" autocomplete="off" class="layui-input">-->
<!--              </div>-->
<!--            </div>-->
<!--            <div class="layui-form-item">-->
<!--              <label class="layui-form-label">邮箱</label>-->
<!--              <div class="layui-input-inline">-->
<!--                <input type="text" name="email" value="" lay-verify="email" autocomplete="off" class="layui-input">-->
<!--              </div>-->
<!--            </div>-->
<!--            <div class="layui-form-item layui-form-text">-->
<!--              <label class="layui-form-label">备注</label>-->
<!--              <div class="layui-input-block">-->
<!--                <textarea name="remarks" placeholder="请输入内容" class="layui-textarea"></textarea>-->
<!--              </div>-->
<!--            </div>-->
<!--            <div class="layui-form-item">-->
<!--              <div class="layui-input-block">-->
<!--                <button class="layui-btn" lay-submit lay-filter="setmyinfo">确认修改</button>-->
<!--                <button type="reset" class="layui-btn layui-btn-primary">重新填写</button>-->
<!--              </div>-->
<!--            </div>-->
<!--          </div>-->
<!--          -->
<!--        </div>-->
<!--      </div>-->
<!--    </div>-->
<!--  </div>-->
<!--</div>-->

<!--<script>-->
<!--layui.use('set', layui.factory('set'));-->
<!--</script>-->